package com.agree.consts;


public enum ErrorCode {

	CIS002("CIS002","客户号校验错误，请检查客户号正确是否"),
	CIS003("CIS003","证件类型校验错误，请检查证件类型是否正确"),
	CIS004("CIS004","证件号校验错误，请检查证件号是否正确"),
	CIS005("CIS005","客户信息不存在"),
	DPS011("DPS011","账户注销失败"),
	DPS012("DPS012","该账户已注销"),
	DPS013("DPS013","活期账户中存在余额，不能注销该账户"),
	DPS014("DPS014","该账户为非正常状态，不能销户"),
	DPS021("DPS021","签名不一致"),
	PBC011("PBC011","字段[%s]必须输入|_CheckKey_"),
	PBC010("PBC010","重复的服务请求"),
	PBC009("PBC009","未找到服务[%s]登记的判重规则|p_servicecode"),
	PBC008("PBC008","请求不在服务[%s]的开放时间内|p_servicecode"),
	PBC013("PBC013","机构代码未上送或未配置[%s]渠道的虚拟机构|channelcode"),
	PBC012("PBC012","字段[%s]格式不正确|_CheckKey_"),
	DPS035("DPS035","交易次数超出最大单日累计交易次数，交易失败"),
	DPS036("DPS036","交易金额超出最大单日累计交易额度，交易失败"),
	DPS037("DPS037","交易次数超出每月最大累计交易次数，交易失败"),
	DPS038("DPS038","交易金额超出每月最大累计交易额度，交易失败"),
	DPS039("DPS039","交易次数超出每年最大累计交易次数，交易失败"),
	DPS040("DPS040","交易金额超出每年最大累计交易额度，交易失败"),
	DPS041("DPS041","校验失败，客户号与账号不为同一客户"),
	DPS047("DPS047","余额不足"),
	DPS049("DPS049","电子账户状态校验失败，请检查电子账户是否为已冻结电子账户"),
	DPS058("DPS058","冻结金额超出当前账户可用余额"),
	DPS061("DPS061","字段[%s]不存在|_CheckKey_"),
	DPS063("DPS063","定期账户信息创建失败"),
	DPS067("DPS067","更新电子账户升降级信息表失败"),
	DPS068("DPS068","手工变更失败"),
	DPS085("DPS085","入参账号为空"),
	DPS086("DPS086","入参日期为空"),
	DPS008("DPS008","该卡不是借记卡"),
	DPS009("DPS009","该电子账号已绑定过主绑定卡"),
	DPS032("DPS032","交易类型校验失败，请检查交易类型是否正确"),
	DPS033("DPS033","交易金额超出最大单笔交易额度，交易失败"),
	DPS042("DPS042","账户状态校验失败，账户为非正常状态"),
	DPS043("DPS043","交易失败，该账户活期账号不存在"),
	DPS044("DPS044","绑定卡信息校验失败，无符合条件绑卡信息"),
	DPS052("DPS052","电子账户异常，电子账户活期账号不存在"),
	DPS056("DPS056","绑卡失败，请联系客服"),
	DPS057("DPS057","你已注册过客户信息，请直接登录"),
	DPS071("DPS071","未找到此次变更的申请记录，请联系客服"),
	BUSI01("BUSI01","提取金额不能大于账户余额"),
	BUSI02("BUSI02","交易日期不能小于起息日"),
	BUSI03("BUSI03","交易日期不能大于到期日"),
	DPS073("DPS073","此种账户开立数超过限制"),
	DPS074("DPS074","理财产品购买失败"),
	DPS075("DPS075","未找到该理财产品信息"),
	DPS080("DPS080","账户处于正常状态，不能结息"),
	DPS081("DPS081","非正常本金，不能结息"),
	DPS082("DPS082","贷款处于非正常状态，不能结息"),
	//SUCESS("0","成功"),
	PBB001("PBB001","密码错误"),
	PBC001("PBC001","渠道[%s]未注册|channelcode"),
	PBC002("PBC002","渠道[%s]未启用|channelcode"),
	PBC003("PBC003","渠道[%s]未生效或已失效|channelcode"),
	PBC004("PBC004","机构[%s]不存在|branch"),
	PBC005("PBC005","服务[%s]未注册|p_servicecode"),
	PBC006("PBC006","服务[%s]未启用|p_servicecode"),
	PBC007("PBC007","服务[%s]未生效或已失效|p_servicecode"),
	PBC014("PBC014","请求不在服务[%s]的开放时间内|p_servicecode"),
	PBC018("PBC018","未找到服务[%s]登记的判重规则|p_servicecode"),
	PBC019("PBC019","重复的服务请求"),
	PBC020("PBC020","字段[%s]必须输入|_CheckKey_"),
	PBC021("PBC021","字段[%s]格式不正确|_CheckKey_"),
	PBC022("PBC022","机构代码未上送或未配置[%s]渠道的虚拟机构|channelcode"),
	PBC023("PBC023","字段[%s]超过限定长度|_CheckKey_"),
	PBD001("PBD001","无满足条件记录"),
	PBE999("PBE999","系统异常"),
	PBT001("PBT001","主机通讯超时"),
	PBT002("PBT002","主机通讯参数未配置"),
	DPS005("DPS005","您的账户[%s]已注册积分账户，不能重复注册|custno"),
	DPS006("DPS006","您的账户[%s]已注册红包账户，不能重复注册|custno"),
	DPS007("DPS007","账户属性校验失败，请检账户属性是否正确"),
	DPS010("DPS010","该介质编号不存在"),
	DPS020("DPS020","交易密码错误"),
	DPS027("DPS027","账户状态为非正常状态，不能对金额进行处理"),
	DPS028("DPS028","账户类型校验失败，该账户不能进行交易"),
	DPS029("DPS029","余额不足，不能进行金额转出操作"),
	DPS031("DPS031","该电子账户未绑定过主绑定卡"),
	DPS051("DPS051","变更绑定卡失败，请联系客服"),
	DPS050("DPS050","添加绑定卡失败，请联系客服"),
	DPS055("DPS055","上送交易字段有效性检查失败，请检查上送字段的值是否合法"),
	DPS059("DPS059","申请失败，请联系客服"),
	DPS060("DPS060","开户失败，请联系客服"),
	DPS062("DPS062","您已申请过此业务，请不要重复申请"),
	DPS064("DPS064","请清空活期账户余额后再申请业务"),
	DPS065("DPS065","加密秘钥不能为空"),
	DPS066("DPS066","密码修改失败，请联系客服"),
	DPS072("DPS072","电子账户不是未激活状态，不需要激活"),
	DPS076("DPS076","账户余额不足，申请失败"),
	DPS078("DPS078","校验失败，主机流水不能为空"),
	DPS079("DPS079","该客户信用额度已生成，不能再次生成"),
	CIS001("CIS001","该用户已经存在，请直接登录"),
	DPS001("DPS001","客户信息验证失败"),
	DPS002("DPS002","客户号不能为空"),
	DPS015("DPS015","证件类型证件号码与客户号不能同时为空"),
	DPS016("DPS016","无该客户的客户信息"),
	DPS017("DPS017","账户类型和用途代码不能为空"),
	DPS018("DPS018","该类产品不存在"),
	DPS026("DPS026","暂不支持此种操作"),
	DPS045("DPS045","绑卡信息校验错误"),
	DPS046("DPS046","冻结状态不存在，请检查冻结状态的值是否正确"),
	DPS053("DPS053","挂失失败，请联系客服"),
	DPS054("DPS054","账户状态校验失败，账户为非锁定状态"),
	DPS077("DPS077","账户信息不存在，请检查账号是否正确"),
	DPS083("DPS083","账户信息校验失败，请检查交易账户是否可用"),
	CIS006("CIS006","法人代码或分行号不能为空"),
	DPS003("DPS003","您已经办理过二类默认电子账户"),
	DPS004("DPS004","产品状态失效"),
	DPS019("DPS019","客户号不匹配，校验失败"),
	DPS022("DPS022","交易金额校验失败，请检查交易金额是否正确"),
	DPS023("DPS023","渠道校验失败，请检查渠道号是否正确"),
	DPS024("DPS024","电子账号校验失败，请检查电子账号是否正确"),
	DPS025("DPS025","电子账户状态非正常，不能获取该账户额度信息"),
	DPS030("DPS030","交易金额超出最大账户余额限制，交易失败"),
	DPS048("DPS048","该电子账户为已冻结账户"),
	DPS069("DPS069","您有对私定期账户，不能申请此业务，请注销后再来申请"),
	DPS070("DPS070","未找到您的升降级申请信息"),
	DPS084("DPS084","智能存款产品赎回失败")
	;
	private final String errorCode;//错误状态码
	
	private final String errorMsg;//错误信息

	private ErrorCode(String errorCode, String errorMsg) {
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
	}

	public String errorCode() {
		return errorCode;
	}

	public String errorMsg() {
		return errorMsg;
	}
}
